package com.edu.cold.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.edu.cold.common.user.dao.SysUserDao;
import com.edu.cold.common.user.entity.SysUserEntity;
import com.edu.cold.user.service.SysUserService;
import org.springframework.stereotype.Service;


/**
 * <p>
 * 系统用户 Service层接口 实现类
 * </p>
 *
 * @author jpge
 * @since 2024-04-05
 */
@Service("sysUserService")
public class SysUserServiceImpl extends ServiceImpl<SysUserDao, SysUserEntity> implements SysUserService {

    /**
     * 根据用户名，查询系统用户
     */
    @Override
    public SysUserEntity queryByUserName(String username) {
        return baseMapper.queryByUserName(username);
    }

}